package cn.jxau.service;

import java.util.List;
import java.util.Map;

import cn.jxau.bean.po.ArticleType;

public interface ArticleTypeService extends CommonService{
	List<ArticleType> getAllArticleType();
	
	int updateTypeNameById(ArticleType articleType);
	
	int deleteTypeParentById(Long id,boolean isParent);
	
	int deleteTypeSonById(Long id);
	
	Long insertType(ArticleType articleType);
	
	int insertDragType(Long id,ArticleType articleType);
	
	public Map<String, ArticleType> initParentAndSon();
}
